package com.genshang.restaurant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex
 * @since 2020-09-25
 */
@TableName("record1")
public class Record1 extends Model<Record1> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String object;

    private Long version;

    private LocalDateTime updatedAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }
    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Record1{" +
            "id=" + id +
            ", object=" + object +
            ", version=" + version +
            ", updatedAt=" + updatedAt +
        "}";
    }
}
